//Demonstrates a test and out put a Multiplication tables.
public class pp6_3
{
  public static void main(String []args)
  {
   final int NUM=12;
   int value = 1, a,b,c=1;

   for(a=1;value <= NUM; a++)
   {
     for(b=1;b<=NUM;b++)
     {
      c=a*b;
      System.out.print(a+"*"+b +"="+c+"\t");
     }
     value++;
     if(value % 1 == 0)
       System.out.println();
    } 
  }
}  

